package com.shao.constant;

/**
 * @author PaoFu
 * @version 1.0
 * @data 2025/4/8 15:40
 */
public class ZookeeperCons {

    // 链接地址
    public static final String DEFAULT_CONNECT_ADDR = "127.0.0.1:2181";

    // 超时时间
    public static final int DEFAULT_SESSION_TIMEOUT = 10 * 1000;

    // 服务提供方和调用方在注册中心的位置
    public static final String BASE_PROVIDERS_PATH = "/srpc-metadata/providers";
    public static final String BASE_CONSUMERS_PATH = "/srpc-metadata/consumers";
}
